package fast.loader;

import java.util.Arrays;
import java.util.List;

import fast.data.Stat;
import fast.data.StatBlock;

public enum Race {
	dwarf(3,25,16),
	human(1,20,20),
	worgen(22,23,22),
	gnome(7,15,22),
	nightelf(4,16,24),
	golbin(9,17,22),
	bloodelf(10,17,22),
	orc(2,23,17),
	undead(5,19,18),
	troll(8,21,22),
	pandaren(25,20,18);
	
	private final int index;
	private final StatBlock stats;
	
	public static final List<Integer> pandarenIds = Arrays.asList(24,25,26);
	
	private Race(int index, int str, int agi){
		this.index = index;
		
		int base_str = 112; // LEVEL_90 rogue
		int base_agi = 205;
		stats = new StatBlock();
		stats.addStat(Stat.str, base_str + str);
		stats.addStat(Stat.agi, base_agi + str);
	}

	public int getIndex() {
		return index;
	}

	public StatBlock getStats() {
		return stats;
	}
}
